package com.zzy.springbootdemo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @RequestMapping("/hello")
    public String sayHello(String name){
        System.out.println("name = " + name);
        return "hello " + name;
    }
}
